package com.dingyh.shopwebbackground.mapper;

import com.dingyh.shopwebbackground.entity.Business;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-23
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    List<Business> getReviewBusinessList();
    List<Business> getReviewedList();
    Business selectByIdBusiness(String id);
    Business selectByUserId(String userId);
}
